<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<div>
	当前状态："${user.status }"
</div>
<div>
	<c:choose>
		<c:when test="${user.status=='未激活' }"><a href="../servlet?method=doactive&id=${user.id }"><button>激活</button></a></c:when>
		<c:when test="${user.status=='已激活' }"><button>取消激活</button></c:when>
	</c:choose>
</div>
</body>
</html>